package com.example.myapplication

import androidx.navigation.NavController
import javax.inject.Inject

class HomeNavigatorImpl @Inject constructor() : HomeNavigator {
    private var activityNav: NavController? = null
    override fun bindNavController(activityNav: NavController) {
        this.activityNav = activityNav
    }

    override fun navigatorToFragmentB() {
        activityNav?.navigate(R.id.action_a_to_b)
    }
}